package com.kgcx.organization.domain;

import com.kgcx.dbutils.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * 驾驶员培训
 *
 * @author qinze
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_organization_driver_training")
@ApiModel(value = "司机培训")
public class Training extends BaseDomain {
    /**
     * 机动车驾驶证号
     */
    @ApiModelProperty(value = "机动车驾驶证号", required = true, example = "ZXBUUANNQ99912")
    private String licenseId;

    @ApiModelProperty(value = "注册地行政区划代码", required = true, example = "ZXBUUANNQ99912")
    private String address;
    /**
     * 驾驶员培训课程名称
     */
    @ApiModelProperty(value = "驾驶员培训课程名称", required = true, example = "安全意识")
    private String courseName;
    /**
     * 培训课程日期
     */
    @ApiModelProperty(value = "培训课程日期", required = true, example = "1511248354000")
    private Timestamp courseDate;
    /**
     * 培训开始时间
     */
    @ApiModelProperty(value = "培训开始时间", required = true, example = "1511248354000")
    private Timestamp startTime;
    /**
     * 培训结束时间
     */
    @ApiModelProperty(value = "培训结束时间", required = true, example = "1511248354000")
    private Timestamp stopTime;
    /**
     * 培训时长
     */
    @ApiModelProperty(value = "培训时长", required = true, example = "18")
    private Integer duration;

}